<{% extends 'blog/blog.html' %}

{% block content %}
    <h2>Administrator Error</h2>
    {% if user %}
    <p>Sorry, you must be an administrator to access this function.</p>
    {% else %}
    <p>You are not signed in. Please <a href="{{ login_url }}">sign in</a> and try again.</p>
    {% endif %}
{% endblock content %}